<template>
    <div>
        <el-table :data="data">
            <el-table-column prop="id" label="ID"></el-table-column>
            <el-table-column prop="name" label="姓名"></el-table-column>
            <el-table-column prop="age" label="年龄"></el-table-column>
            <el-table-column prop="adder" label="居住地"></el-table-column>
            <el-table-column prop="sex" label="性别"></el-table-column>
        </el-table>
    </div>
</template>
<script>
export default {
    props:['data']
}
</script>
<style lang="scss" scoped>

</style>